package com.cloudsigns.factorymanager2.produce.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.GridView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.cloudsigns.factorymanager2.BaseActivity;
import com.cloudsigns.factorymanager2.R;

public class ProduceWarehousingQualityInformationActivity extends BaseActivity {
    private RelativeLayout rl_back;
    private TextView tv_title;
    private TextView tv_submit_num, tv_qualified_num, tv_return_num, tv_return_reason, tv_quality_person, tv_quality_time, tv_process_result;
    private GridView gridView;

    @Override
    protected void onBaseCreate(Bundle savedInstanceState) {
        setContentView(R.layout.layout_produce_warehousing_quality_information);
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        rl_back = findViewById(R.id.rl_back);
        tv_title = findViewById(R.id.tv_title);
        tv_submit_num = findViewById(R.id.tv_submit_num);
        tv_qualified_num = findViewById(R.id.tv_qualified_num);
        tv_return_num = findViewById(R.id.tv_return_num);
        tv_return_reason = findViewById(R.id.tv_return_reason);
        tv_quality_person = findViewById(R.id.tv_quality_person);
        tv_quality_time = findViewById(R.id.tv_quality_time);
        tv_process_result = findViewById(R.id.tv_process_result);
        gridView = findViewById(R.id.gridView);
    }

    @Override
    protected void initData(Bundle savedInstanceState) {
        tv_title.setText(getResources().getString(R.string.quality_information));
    }

    @Override
    public void setListener() {
        rl_back.setOnClickListener(this);
    }

    @Override
    public void widgetClick(View view) {
        switch (view.getId()) {
            case R.id.rl_back:
                finish();
                break;

        }
    }
}
